package com.poly.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.poly.common.database.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

/**
 * 应用菜单授权对象 sys_app_menu_auth
 *
 * @author poly
 * @date 2024-01-02
 */
@Data
@TableName(value = "sys_app_menu_auth")
public class SysAppMenuAuth extends BaseDomain
{
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.INPUT, value = "id")
    private Long id;

    /**
     * 授权类型
     */
    @TableField(value = "auth_type")
    private Integer authType;

    /**
     * 授权编号
     */
    @TableField(value = "auth_id")
    private Long authId;

    /**
     * 菜单编号
     */
    @TableField(value = "menu_id")
    private Long menuId;


    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT,value = "`create_by`")
    private Long createBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT,value = "`create_time`")
    private Date createTime;


}
